package com.baibei.model;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;

/**
 * Created by shenminjie on 2017/9/13.
 * mail:shenminjie@100bei.com
 */

public class ServiceQQInfo implements Serializable, Parcelable {
    private String qq;
    private String qqUrl;

    public String getQqUrl() {
        return qqUrl;
    }

    public void setQqUrl(String qqUrl) {
        this.qqUrl = qqUrl;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }


    @Override
    public String toString() {
        return "ServiceQQInfo{" +
                "qq='" + qq + '\'' +
                ", qqUrl='" + qqUrl + '\'' +
                '}';
    }

    public ServiceQQInfo() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.qq);
        dest.writeString(this.qqUrl);
    }

    protected ServiceQQInfo(Parcel in) {
        this.qq = in.readString();
        this.qqUrl = in.readString();
    }

    public static final Creator<ServiceQQInfo> CREATOR = new Creator<ServiceQQInfo>() {
        @Override
        public ServiceQQInfo createFromParcel(Parcel source) {
            return new ServiceQQInfo(source);
        }

        @Override
        public ServiceQQInfo[] newArray(int size) {
            return new ServiceQQInfo[size];
        }
    };
}
